package IOperation;

import Book.BookList;
import Book.book;

public class showOperation implements IOperation{

    @Override
    public void work(BookList bookList) {
        System.out.println("展示图书");
        int currentBookSize = bookList.getBookSize();
        for (int i = 0; i < currentBookSize; i++) {
            System.out.println(bookList.getBook(i));
        }
        System.out.println("图书展示完成");
    }
}
